package com.wetao.module_report.contract;

import com.wetao.lib_common.base.BasePresenter;
import com.wetao.lib_common.base.BaseViewImp;
import com.wetao.lib_common.bean.response.ReportStudyInfo;

import java.util.HashMap;

/**
 * author: zhouyh
 * created on: 2019-11-15 16:27
 * description:
 */
public interface ReportStageDetailCon {

    interface View extends BaseViewImp {
        void queryDateStudyInfoResult(ReportStudyInfo response);

        void queryDateStudyInfoFailed();

        void queryWeekStudyInfoResult(ReportStudyInfo response);

        void queryWeekStudyInfoFailed();

        void queryMonthStudyInfoResult(ReportStudyInfo response);

        void queryMonthStudyInfoFailed();


    }

    abstract class Presenter extends BasePresenter<View> {
        public abstract void queryDateStudyInfo(HashMap<String, String> map, boolean isDialog, boolean isCancelable);

        public abstract void queryWeekStudyInfo(HashMap<String, String> map, boolean isDialog, boolean isCancelable);

        public abstract void queryMonthStudyInfo(HashMap<String, String> map, boolean isDialog, boolean isCancelable);
    }
}
